package com.atguigu.mySmartCampus.Service;

import com.atguigu.mySmartCampus.entity.LoginForm;
import com.atguigu.mySmartCampus.entity.Student;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface StudentService extends IService<Student> {
    //+
    Student login(LoginForm loginForm);
    //..Student getStudentById(Integer id);
    Student getStudentById(Long id);
    //..List<Student> getStudentsByOperator();
    //..IPage<Student> getStudentsByOperator(Page<Student> page, String studentName);
    IPage<Student> getStudentsByOperator(Page<Student> page, Student student);
}
